package com.pyue.eam.admin.mapper;

import com.pyue.eam.admin.api.entity.SysLog;
import com.pyue.eam.common.data.datascope.EamBaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 日志表 Mapper 接口
 * </p>
 *
 * @author eam
 * @since 2017-11-20
 */
@Mapper
public interface SysLogMapper extends EamBaseMapper<SysLog> {

	/**
	 * 通过日志类型统计日志总数 返回一个包含日志类型和日志总数的列表
	 * @return List<Map<String, Object>>
	 */
	List<Map<String, Object>> selectLogSumByType();

}
